* {
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  height: 100vh;
}

.container h1 {
  text-align: center;
  margin-bottom: 80px;
  padding-top: 20px;
  font-weight: bold;
  position: relative;
  color: lightgreen;
}
.container h1::after {
  content: "";
  background: lightgreen;
  width: 100px;
  height: 5px;
  border-radius: 5px;
  position: absolute;
  bottom: -10px;
  /* 将伪元素的左边缘设置位于 h1的中间50%*/
  left: 50%;
  /* 将伪元素向左移动自身宽度的 50%，实现水平居中 */
  transform: translateX(-50%);
}
.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 30px;
  height: 100px;
  box-shadow: 10px 10px 20px 1px rgba(198, 193, 193, 0.75);
  border-radius: 10px;
}

.row a {
  text-decoration: none;
}

.content i {
  font-size: 30px;
  color: #000;
}

.content h2 {
  padding: 0px 10px;
  color: #000;
}

.content:hover {
  transition: 0.5s;
  scale: 0.97;
  box-shadow: none;
  background: lightgreen;
}

.content:hover h2 {
  color: rgb(255, 255, 255);
}
.content:hover i {
  color: rgb(255, 255, 255);
}
